//
//  EquipmenCell.h
//  DataStatistics
//
//  Created by Kang on 15/12/10.
//  Copyright © 2015年 YTYangK. All rights reserved.
//

#import <UIKit/UIKit.h>
@class EListModel;
@protocol EquipmenCellDelegate<NSObject>

/**
 * 详情点击BUtton的代理方法
 */
- (void)didClickButton:(UIButton *)button;

@end


@interface EquipmenCell : UITableViewCell

@property (weak, nonatomic)id<EquipmenCellDelegate>delegate;
/** 
 *红色小标
 */
@property (strong, nonatomic) IBOutlet UIButton *btnVlue;
@property (weak, nonatomic) IBOutlet UILabel *DownTime;
@property (weak, nonatomic) IBOutlet UILabel *DownTimeTitle;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *EquipmentW;

@property (weak, nonatomic) IBOutlet NSLayoutConstraint *BtnW;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *BtnH;

@property (weak, nonatomic) IBOutlet NSLayoutConstraint *StateimgH;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *StateimgW;

@property (weak, nonatomic) IBOutlet NSLayoutConstraint *BtnL;

@property (weak, nonatomic) IBOutlet NSLayoutConstraint *DownTimeR;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *DownTimeTitleR;
@property (weak, nonatomic) IBOutlet UIImageView *Icon1;
@property (weak, nonatomic) IBOutlet UIImageView *Icon2;
@property (weak, nonatomic) IBOutlet UIImageView *Icon3;
@property (weak, nonatomic) IBOutlet UIImageView *Icon4;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *NameLLayout;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *stateLLayout;
@property (weak, nonatomic) IBOutlet UIButton *DetailsButton;

/**
 *   cell 数据模型
 */
@property (strong, nonatomic) EListModel *modelCellData;

/** 设置list数据  */
- (void)judgeBtnVlue:(int)btnVlue isDetermineClick:(BOOL)click;

/** 
 * Cell 初始化方法
 */
+ (instancetype)initCellWithCellView:(UITableView *)tableView reuseIdentifier:(NSString *)identifier;


@end
